import request from '@/utils/request'

// 查询帮我约她关联i列表
export function listYt(query) {
  return request({
    url: '/com/yt/list',
    method: 'get',
    params: query
  })
}

// 查询帮我约她关联i详细
export function getYt(id) {
  return request({
    url: '/com/yt/' + id,
    method: 'get'
  })
}

// 新增帮我约她关联i
export function addYt(data) {
  return request({
    url: '/com/yt',
    method: 'post',
    data: data
  })
}

// 修改帮我约她关联i
export function updateYt(data) {
  return request({
    url: '/com/yt',
    method: 'put',
    data: data
  })
}

// 删除帮我约她关联i
export function delYt(id) {
  return request({
    url: '/com/yt/' + id,
    method: 'delete'
  })
}

// 导出帮我约她关联i
export function exportYt(query) {
  return request({
    url: '/com/yt/export',
    method: 'get',
    params: query
  })
}
